package com.woniuxy.service.hospital;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entity.Dept;
import com.woniuxy.entity.Home;

import java.util.List;

public interface HomeService {
    PageInfo<Home> findAll(Integer page, Integer size);

    int save(Home home);
    int update(Home home);
    int delete (Integer hId);

    PageInfo<Home> findSelect(Dept dept,Integer page, Integer size);
}
